﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace HynuIOTA.Web.Models
{
    public class PostActionViewModel
    {

        public int Id { get; set; }
        [Required]
        public string Name { get; set; }
        [Required]
        public string Description { get; set; }

        public string Url { get; set; }
        [Required]
        public string rArea { get; set; }
        [Required]
        public string rController { get; set; }
        [Required]
        public string rAction { get; set; }
        [Required]
        public string rMethod { get; set; }
    }
}